package cn.zshprint.serein.service;

import cn.zshprint.serein.entity.Role;
import cn.zshprint.serein.vo.RoleVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface RoleService extends IService<Role> {

    Role selectOne(Integer id);

    List<Role> selectAll();

    Integer save(String name, String description);

    Integer saveByJson(RoleVO roleVO);

    Role update(Role role);

    Integer delete(Integer id);
}
